curl --location 'https://api.plugnotas.com.br/mdfe/IdDoMDFe/pagamentoOperacao' \
--header 'x-api-key: 2da392a6-79d2-4304-a8b7-959572c7e44d' \
--header 'Content-Type: application/json' \
--data '{
   "quantidadeViagens": 1,
   "numeroViagem": 1,
   "pagamento": {
      "nome": "teste",
      "cpfCnpj": "teste",
      "valorTotalContrato": 120,
      "aVista": true,
      "informacoesBancarias": {
         "cnpjInstituicao": "teste"
      },
      "componentes": [
         {
            "tipo": "03",
            "descricao": "teste",
            "valor": 120
         }
      ]
   }
}'